package com.ebelter.seneo.interfaces;


import android.bluetooth.BluetoothDevice;

import com.ebelter.btcomlib.models.bluetooth.bean.ProductStyle;
import com.ebelter.btcomlib.models.bluetooth.products.scale.bean.ScaleMeasureResult;

public interface SeneoBTI {

    //展示绑定地址的UI
    void showBondDialog();
    void addInfoDialog(long userId,String nickname);





    /**
     * 脂肪测量结果数据
     */
    void onReceiveMeasureResult(ScaleMeasureResult result);

    /**
     * 体重超载
     */
    void onWeightOverLoad();

    /**
     * 接收到测量历史数据
     */
    void onReceiveHistoryRecord(ScaleMeasureResult result);

    void onReceivedynamicMeasureResult(ScaleMeasureResult result);

    /**
     * 测脂出错
     */
    void onFatMeasureError(int type);

    /**
     * 接收到历史记录上发完毕
     */
    void onHistoryDownloadDone();


    void unitChange(String unit);

    /**
     * 低电提示
     */
    void onLowPower();


    /**
     * 设置 用户信息成功
     */
    void setUserInfoSuccess();

    //接收到秤的时间
    void receiveTime(long time);


    void onScaleWake();
    void onScaleSleep();





    void error(String msg);


    void onConnected(BluetoothDevice device);
    void onConnecting(BluetoothDevice device);
    void onDisConnected();
}
